package com.yitianyigexiangfa.designpattern.facade.hometheater.subsystem;

/**
 * 放映机
 *
 * @author Bill Lau
 * @date 2018-01-18
 */
public class Projector {

    private DvdPlayer dvdPlayer = new DvdPlayer();

    public void on() {
        System.out.println("Projector on");
    }

    public void off() {
        System.out.println("Projector off");
    }

    public void tvMode(int i) {
        System.out.println("Projector tvMode: " + i);
    }

    public void wideScreenMode() {
        System.out.println("Projector start wide screen mode");
    }

    @Override
    public String toString() {
        return "Projector{" +
               "dvdPlayer=" + dvdPlayer +
               '}';
    }
}
